package com.craney.aboutFilter
{
	import flash.display.Shape;
	import flash.display.Sprite;
	import flash.filters.BitmapFilterQuality;
	import flash.filters.GlowFilter;
	
	public class TestGlowFilter
	{
		public function TestGlowFilter(ps:Sprite)
		{
			var crossGraphic:Shape = new Shape();
			crossGraphic.graphics.lineStyle();
			crossGraphic.graphics.beginFill(0xCCCC00);
			crossGraphic.graphics.drawRect(60, 90, 100, 20);
			crossGraphic.graphics.drawRect(100, 50, 20, 100);
//			crossGraphic.graphics.drawCircle(60, 60, 60);
			crossGraphic.graphics.endFill();
			ps.addChild(crossGraphic);
			
			var glow:GlowFilter = new GlowFilter();
			glow.color = 0x009922;
			glow.alpha = 1;
			glow.blurX = 25;
			glow.blurY = 25;
			glow.quality = BitmapFilterQuality.HIGH;
			
			crossGraphic.filters = [glow];
			
		}

	}
}